<%@tag pageEncoding="UTF-8" body-content="empty"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<%@attribute name="label" required="true" %>
<%@attribute name="nome" required="true" %>
<%@attribute name="checked" required="false" type="java.lang.Boolean"%>


<label for="${nome}">${label}

<input type="checkbox" class="checkbox" name="${nome}" id="${nome}" value="true" 
       
       <c:if test="${checked == true}"> <c:out value="checked='checked'"/> </c:if>/>
</label>